/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import java.util.Vector;
import java.net.InetAddress;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.server.UnicastRemoteObject;
import javax.swing.JOptionPane;
/**
 *
 * @author Jesus
 */
public class Main{


    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws RemoteException
    {
        // TODO code application logic here

        try
        {
            ImpServidorRemoto server = new ImpServidorRemoto();
            if (!server.registrarServicio())
                System.exit(1);
        }
        catch (Exception e)
        {
            System.out.println(e);
        }
    }

}
